pcmdec: check that channels is valid.