thread pool: fix unsafe variable change

In the thread pool initalization threads_awake is changed without a
proper mutex lock. Once threads are started, threads_awake should not be
changed with a mutex lock.


BTW, why is the git history of psi4 hidden? It would be helpful if the full change history is visible, like a proper open source project.