[PATCH 3.16 66/83] genirq: Prevent NULL pointer dereference in resend_irqs()