Tests: Fix RunCMake.try_compile test for C standards with MSVC 19.27
Since !5115 (merged) we know about MSVC C language standards. Update the RunCMake.try_compile
test to be aware of this even when CMake is
itself configured by an older CMake that does not know this.
Backport: release