gallium: move softpipe_get_tex_surface() prototype