The previous Driver's triple check only worked for -target, but not for -arch -mmacosx-version-min invocations
This change ensures that the Darwin driver doesn't add unsupported libraries to the link invocation when linking the Apple Silicon macOS slice. rdar://61011136 Differential Revision: https://reviews.llvm.org/D82696