Rather than having to manually map SDK versions to their supported
architectures, just directly ask the SDK which architectures it
supports. This detection is tweaked to use SDKSettings.json to match
Clang (https://reviews.llvm.org/D55673) and reportedly Xcode [1], which
lets us check for architecture support directly instead of relying on
string matching another command's output. I also unified the arm64
checking for all platforms.
[1] https://worthdoingbadly.com/sim-macos-arm-sdk/#what-i-learned
@arphaman Do we know when SDKSettings.json was added? If it's not present in older SDKs then we won't be able to build against them with this change.