mux/wav: fix channel ordering with 7.1 channel muxing
Previously it muxed channels in incorrectly with 8 channels, and checked channel mapping of only first 6 channels.
Tested by muxing 7.1 audio with avformat-muxer and wav muxer and checking output with audacity.