CUDA: Avoid using deprecated cublas_device to identify device lib dirs
Use curand_static
to identify directories containing device libraries
because cublas_device
is deprecated and will be removed in the future.
Issue: #18290 (closed)
Topic-rename: cuda-no-cublas_device