Move gl_shader_set_coords from gl.c to gl_common.c