util: add avx2 and xop detection to cpu detection code