dma-debug: Fix the overlap() function to be correct and readable