[PATCH 4.9 030/125] irqchip/versatile-fpga: Apply clear-mask earlier