Tests/CXXModules: test `cxx_std_20` coming from a dependency

Closes: #25569
2 files changed