#i124516# handle bad surrogate pairs gracefully on Windows

When running into invalid Unicode surrogate pairs the text layout code on
Windows ran into massive problems like crashes. This change detects the
situation of an invalid surrogate pair and falls back to treat it as
a simple character instead of requesting a complex glyph fallback.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1582374 13f79535-47bb-0310-9956-ffa450edef68