cpu: also check for BMI1 and BMI2 flags when enabling AVX2
Some emulators and VMs may allow non-standard combinations of instruction sets. Since we explicitly use BMI2 instructions in some AVX2 functions, this makes sure that set is also reported as supported.
Might fix #254 (closed).