avcodec/wavpack: fix decoding of files with many channels