KVM: x86: Combine the lgdt and lidt emulation logic