vim_strsize and vim_strnsize should return 0 size for null-strings.

This avoids dereferencing a null pointer as well as being consisntent with
empty strings. Calls to these functions no longer need null guards.