get_segments: fixed int/LIGOTimeGPS type error