clean up of add apple_sgemv_patch.c, add dynamic AVX check