drop unused flags for avx512 (we only use foundation)