Change cmake to use CMAKE_CXX_COMPILER_ID since CMAKE_COMPILER_IS_GNUCC is deprecated [ROCm/clr commit: 21f6842fff]
21f6842fff