dmaengine: shdma: fix DMA error handling.