[PATCH 4.14 445/496] dmaengine: pl330: fix a race condition in case of threaded irqs