lavf/movenc: fix tmcd writing for non-MP4/MOV modes