Convert sha1_array_lookup to take struct object_id