Fixed _CRT_SECURE_NO_WARNINGS macro redefinition warning

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