[PATCH 4.14 052/199] irqchip/versatile-fpga: Apply clear-mask earlier