sws/yuv2rgb: avoid a few ub on signed left shifts