st/mesa/glsl: build string of dri options and use as input to building sha for shaders