swresample/audioconvert: Fix undefined behavior (left shift of negative value)