builtin/receive-pack: fix incorrect pointer arithmetic