Check the return value of some GetString() calls.

This addresses some Coverity issues related to us not checking if calls to `DictionaryValue::GetString()` failed or not.

CID=229802
CID=229803
CID=229804