meshoptimizer: Add arm64EC support
Cherry-pick upstream commits:
- a5d40254bc2499bf61666035e40cba1b180b6458 (Support arm64EC)
- 249e95e3480a8f6258d631ae43cce8ae60baa4f7 (clusterizer: Simplify ARM64EC conditions)
arm64EC defines _M_X64 for x64 ABI compatibility, which caused the SIMD
detection to select the SSE path. But arm64EC's MSVC headers (emmintrin.h,
tmmintrin.h) forbid direct inclusion — they must be included via <intrin.h>.
Fix by excluding _M_ARM64EC from SSE paths and routing it to NEON instead.
Fixes: QTBUG-146613
Change-Id: I84635650bcd1bc27dc35f0a6036e20f379b3f9b9
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>