avcodec/nellymoserenc: Fix segfault when using unsupported channels/rate