[ARM] Convert DMA cache handling to take const void * args