gallium/st: add pipe_context::generate_mipmap()