[PATCH 4.9 041/171] x86/ioapic: Prevent inconsistent state when moving an interrupt