builtin/merge-tree: convert remaining caller of get_sha1 to object_id