[patch 06/15] rapidio: fix rio_dma_transfer error handling