FindCUDA: Only depend on Threads::Threads on platforms that need it
In !4035 (merged) we introduced use of the Threads::Threads
target, but we do not find_package(Threads)
on all platforms. Use the target only if it exists.
Backport: release
Topic-rename: FindCUDA-no-threads-target
Edited by Brad King