Fix a crash and a hangup caused by threading issues in KisUpdateJobItem
The crash happened because of race condition over the previously used
m_isExecuting counter. It could happen that the job execution could be
entered twice by two different threads.
The hangup happened because of the race condition between m_isExecuting
and isRunning(). It could happen that no(!) thread will even start
execution on a given job item, which basically means that the queue will
just lose one thread. The hangup happens when all the threads are lost.
Now both counters are merged into a single atomic object, basically
eliminating race conditions over it.