mshtml: Fixed invalid use of -1 length in WideCharToMultiByte calls.