swscale/input: replace assert() by av_assert1()