avformat/vqf: check number of channels before use.