irqchip/mips-gic: Avoid spuriously handling masked interrupts