glsl: Improve the local dead code optimization to eliminate unused channels.