Also make the conversions more strict against invalid input data.
Most dlls use libwine_unicode at this point, so there's nothing to gain by having two separate libraries.