glsl: add a singleton thread pool
mesa: enable threadpool for shader compiles