[PATCH v4 12/23] KVM: x86: emulator: update the emulation mode after rsm