glsl: port lower_blend_equation_advanced() to NIR
This is a step closer to to having a full NIR based GLSL linker which will allow improvements like doing NIR optimisations at compile time to reduce memory taken up by unfreed shaders, and speed up link times.