SystemInformation: Ignore stderr from OS query tools
On macOS, sw_vers
may print to stderr
based on environment variables
like MallocGuardEdges=1
. Do not capture that as part of the
information it prints to stdout
.
Issue: cmake/cmake#26466 (closed)