Add the check for return value of GetString().

This patch is to add the check for return value of GetString() in
widget_handler.cc and xwalk_content.cc.

CID=194059
CID=220010

Related to XWALK-2928.
Yes, that is what I'm suggesting unless my understanding of the manifest spec is wrong.