Split CMakeCPPCheck's header language detection into a new module.