Tests: Test more CMakeTest*Compiler.cmake fallbacks

Extend the test added by commit f891a75d5c (Tests: Test
CMakeTest*Compiler.cmake fallbacks, 2022-09-27) to cover more languages.
10 files changed