[PATCH 5.17 017/146] dmaengine: imx-sdma: Fix error checking in sdma_event_remap