receive-pack: do not reuse old_sha1[] for other things