x86: more AVX2 framework, AVX2 quant_8x8

Use 32-byte alignment instead of 16 to satisfy AVX2 using new macros.
Change the alignment of malloc.
Fix array overread in quant matrix initialization
Caused miscompilations in gcc 4.8.
avx2 idct 16x16
test
(not working)