[PATCH 5.4 12/62] dmaengine: imx-sdma: Fix error checking in sdma_event_remap