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