tree-diff: convert diff_root_tree_sha1 to struct object_id