nir: i915g: Small shader optimizations
Depending on the order things land, this will either prevent or fix the shader lost on i915g in !12468 (merged).
NOTE: This is currently marked draft. I put the i915 back in storage when I set up the r300, so I haven't actually tested this on real i915 yet.
Edited by Ian Romanick