dma-debug: fix off-by-one error in overlap function