swscale: clip before assigning tables in RGB output functions.