bcm2835_dma: refactor to use header file