eatgv: fix pointer arithmetic overflows.