CompilerId: Clarify CUDA, HIP, ObjC, ObjC++ standard level detection

Use named constants.  Regularize comparison patterns.  Follow the
approach from commit b9d4db7098 (CompilerId: Clarify C and C++ standard
level detection, 2024-04-02).
4 files changed