Strip strings containing '--' before conversion to XML comments.

Otherwise, the script bombs out when it tries to write the illegal XML.

Change-Id: Iaf0e9f6c82a57886ff56cdd4d1fc1c402776b29b
(cherry picked from commit 764c59a1957c79b1b48ae9600709bb5ec4d0338d)
diff --git a/scripts/language_helper.py b/scripts/language_helper.py
index 9fa956b..67bd201 100644
--- a/scripts/language_helper.py
+++ b/scripts/language_helper.py
@@ -129,7 +129,7 @@
 						break
 				if found == False:
 					print "'%s' present in English and not in %s" % (child.attributes['name'].value.encode("utf-8"), otherlang)
-					notfound_err = "NOT FOUND " + child.toxml()
+					notfound_err = "NOT FOUND " + child.toxml().replace('--', '\-\-')
 					notfound_comment = doc.createComment(notfound_err)
 					resources.appendChild(notfound_comment)
 		elif child.nodeType == child.COMMENT_NODE: