Unify gpu_free(...) function in OpenCL, CUDA and SYCL versions of NBNXM