[PATCH 4.14 10/43] dmaengine: imx-sdma: Fix error checking in sdma_event_remap