genirq: Prevent potential NULL dereference in irq_set_irq_wake()