dma-debug: Cleanup for copy-loop in filter_write()