Add a miising initialization in lwm2m_stringToUri()

Signed-off-by: David Navarro <david.navarro@intel.com>