genirq: Fix memory leak when calling irq_free_hwirqs()