Fix AVX2 detection false-positive in some cases