avcodec/pcm: Fix undefined shifts