Fix crash in PCM decoder when number of channels is not set.