genirq: Avoid deadlock in spurious handling