[PATCH 5.3 064/344] x86/apic: Make apic_pending_intr_clear() more robust