minor tweaks to std::atomic<> usage in XML/SAXReader