mesa/glsl: move subroutine metadata to gl_program