POSIX C compliance fixes, fix RunCMake/CXXModules/NoCXX20 with newer default standard
These fix all test failures on my nightly Debian_Unstable-Clang-libcxx
build that manifested after upgrading the compiler to one that defaults to not enabling GNU extensions.
Fixes: #23664 (closed)
Edited by Brad King