swscale: factor ff_sws_init_range_convert() out