GMT: fix bug in footprint overlap detection reported by dnw