[build] fix macOS x86_64 cross-compile warning (#25615)
### Description
<!-- Describe your changes. -->
This pull request introduces a new compiler flag check for
`-Warray-bounds` and addresses a Clang-specific warning in the
`MlasQ4Int8TileGemmKernelBlkLen32Avx2` function.
The warning is generated in unreachable code, however it is still
triggered the warning. Anyway add the change to make Clang happy.
Fixes #23180