CSHARP-788: Strengthen checks for nulls in CStrings.