Make sha1_array_append take a struct object_id *