Fixed _CRT_SECURE_NO_WARNINGS macro redefinition warning

Fixed the compilation warning under MSVC environment due to _CRT_SECURE_NO_WARNINGS macro redefinition in xmltest.cpp (first defined as flag in CMakeLists.txt). This issue is critical for "warnings are errors" configurations.