[PATCH 4.19 20/50] genirq: Prevent NULL pointer dereference in resend_irqs()