Fix: UserDefault::createXMLFile with correct XML definition.
C++11: NULL -> nullptr
Merge pull request #4234 from xhcnb/dev_fix_ccuserdefalut

[ci skip]Fix: UserDefault::createXMLFile with correct XML definition.