avx512f: work around AArch64 GCC 7 issue for simde_mm512_load_si512
GCC 7 seems to have trouble with just using *mem_addr; builds on CI
are unreliable.  This just uses memcpy instead, hopefully it fixes
the issue.
@@ -638,6 +638,10 @@ simde_mm512_load_si512 (simde__m512i const * mem_addr) {
#if defined(SIMDE_AVX512F_NATIVE)
return _mm512_load_si512((__m512i const*) mem_addr);
+ #elif defined(SIMDE_ARCH_AARCH64) && (defined(HEDLEY_GCC_VERSION) && !HEDLEY_GCC_VERSION_CHECK(8,0,0))
+ simde__m512i r;
+ memcpy(&r, mem_addr, sizeof(r));
+ return r;
#else
return *mem_addr;
#endif
