NVIDIA-CUDA: Factor out helper for NVCC C++ standard flags
These standard flags will be the same for other C++-derived languages supported by nvcc. Follow the pattern from commit 25439c7d in !4567 (merged) to factor them into a single macro so we can easily reuse them.
Issue: #25143 (closed)