x86, ioapic: Avoid writing io_apic id if already correct