swscale/swscale: replace potentially slow % by &