avcodec/shorten: Fix signed 32bit overflow in shift in shorten_decode_frame()