Optimize some 4444/8888 color conversions.

Small performance boost in softgpu.
Merge pull request #5671 from unknownbrackets/perf

Optimize some 4444/8888 color conversions