[CMake] Add exclusions for CMake headercheck analoguous to the am counterpart