dma-helpers: add dma_buf_read and dma_buf_write