CUDA: Use CMAKE_CUDA_ARCHITECTURES during compiler detection for NVCC
We try the user-specified CMAKE_CUDA_ARCHITECTURES
and various other flags during CUDA compiler detection for Clang.
We should similarly try CMAKE_CUDA_ARCHITECTURES
for NVCC and fail if it doesn't work. Trying other architectures isn't necessary since NVCC always compiles for an architecture it supports.