Share <trkseg> parsing code between Trace and TrackLoader,