Multithreading fixes -- Use thread-safe xerces-c initialization / termination helpers.