X86: Fixed assertion failure in 32-bit mode