VS: Fix CUDA compiler id with CMAKE_CUDA_ARCHITECTURES={all,all-major}

Skip the architecture verification check for these values on Visual
Studio.  It cannot be implemented correctly until future work delays the
check to the main compiler test step.

Issue: #23164, #23161
2 files changed