add a new av_clip_int16() function to libavutil