[PATCH 4.14 21/45] genirq: Prevent NULL pointer dereference in resend_irqs()