Fix getNRunningThreads()

Whenever I try to compile this program on a local machine, I get and invalid cast error on line 1864. As such, I have changed it from a C-style cast to the load() function built into QAtomicInt.

Thanks in advance!