avformat: move 'chan' tag parsing to mov_chan.c to share with the CAF demuxer