omap: Fix race condition in omap dma driver