builtin/reflog: convert remaining unsigned char uses to object_id