KVM: PIC: Only commit irq routing when necessary