[PATCH AUTOSEL 5.2 024/185] x86/apic: Make apic_pending_intr_clear() more robust