builtin/fsck: convert remaining caller of get_sha1 to object_id