builtin/verify-commit: convert to struct object_id