Fix an off-by-one error in the translation of a byte buffer to a Unicode string.
This wasn't consequential because make_buffer allocated an extra wchar_t for a NUL-terminator and initialized the buffer to zeros (with calloc) beforehand. Still, it's better for the code
to logically correct in addition to functionally correct.