Use GIT_OBJECT_DIR for temporary files of pack-objects