irqchip: Mask the non-type/sense bits when translating an IRQ