genirq: Correctly configure the trigger on chained interrupts