Replace existing 2.1/4.0/4.1/7.1 downmix code

Based on the same principles as 5.1 downmix.

... (read the comments)