dma: fix order calculation in dma_mark_declared_memory_occupied()