Made initialization of halide thread pool thread-safe.
Merge branch 'master' of github.com:halide/Halide