[PATCH 4.14 29/54] irqchip/mips-gic: Avoid spuriously handling masked interrupts