glsl: Make the swizzle-swizzle optimization greedy