avcodec/h264_cavlc: Fix undefined behavior on qscale overflow