matroska: Factor out mkv_write_stereo_mode