Ignore terminating null character when decoding output
MultiByteToWideChar returns the necessary size of the buffer for
decoding the input string including the terminating null character.
A return value of 0 indicates an error.
- GnuPG-bug-id: T5960