pc: kvm_apic: Pass APIC ID depending on xAPIC/x2APIC mode