PixelShaderGen: Add helper macros to vastly clean up overflow+precision emulation. Also fixed a minor issue: Apparently c is being stretched from the 0..255 range to 0..255. Also, lerp result should be U8