mbrtowc was not handling null destination correctly --------- Co-authored-by: Sriya Pratipati <sriyap@google.com>