audemux: Add a sanity check for the number of channels