FindCUDAToolkit: nvptxcompiler_static correctly specify dependencies

Avoids linking to `Threads::Threads` on non-unix systems where it isn't needed. In addition ensures that dlopen symbols are resolved.
1 file changed