x86: test reg, [mem] -> test [mem], reg. bug reported by Gabriel Quadros