[utils,common] Merge format_srt_time and _subtitles_timecode