Fix incorrect handling of X86_OP_IMM