hevc: Use generic av_clip function, not C implementation