macOS: Default to arm64 architecture on Apple Silicon hosts
Detect arm64
hardware using a method that pierces Rosetta. If
CMAKE_OSX_ARCHITECTURES
is not set, pass explicit flags to the
toolchain to use arm64
instead of letting the toolchain pick.
Fixes: #20989 (closed)