genirq: add support for threaded interrupts to devres