glsl2: Insert global declarations at the top of the instruction stream.