Assert that vim_strsize and vim_strnsize gets a non-null parameter.

Make sure `vim_strsize` and `vim_strnsize` doesn't refererence a null-pointer in debug mode.
See also https://github.com/neovim/neovim/pull/249