Changed implicit cast of QAtomicInt to int to QAtomicInt.load()

This fixes compilation under win32-based systems.