cpu: split flag checks per arch in av_cpu_max_align()