End all strings passed to API with NUL

At least `vim_strwidth` API function expects NUL-terminated string.