arch_x86: fix flags testing...