HLLib: don't infinite-loop in WStringToString if an unexpected character is detected