avcodec/utils: Require a non zero channels unless AV_CODEC_CAP_CHANNEL_CONF is set