Set the storedHandle to the doc so that it does not crash
Merge pull request #3119 from NickHardeman/bugfix-ofxXmlSettings-loadFromBuffer

ofxXmlSettings loadFromBuffer function crashes