Tests/RunCMake/cmake_host_system_information: Cover macOS Malloc Debugging env

On macOS, `sw_vers` may print to `stderr` based on environment variables
like `MallocGuardEdges=1`.  Add a test to verify that we do not capture
that as part of the information it prints to `stdout`.

Issue: #26466
3 files changed