[PATCH 4.9 17/74] genirq: Prevent NULL pointer dereference in resend_irqs()