Fixed crash in unicode_strlen()