add a BSONObjBuilder::append(GTID) method, use it and cloneBSONWithFieldChanged in updateMaxRefGTID,