avformat/movenc: Fix stack overflow when remuxing timecode tracks