[PATCH 5.2 41/85] genirq: Prevent NULL pointer dereference in resend_irqs()