NVHPC: Fix detection of C++ 20 mode on NVHPC < 22.7

This compiler does not always define `__cplusplus` correctly, but does
define a feature macro that we can use to distinguish this mode.
2 files changed