progs/glsl: Add workarounds for Apple GLSL compiler crash.