Fixed NEON detection and added AVX2 detection to spandsp