builtin/pack-objects.c: use ALLOC_GROW() in check_pbase_path()