mesa: Custom thread marshalling for ShaderSource.