grn_plugin_proc_get_var: accept -1 for name_size

If -1 is specified, name_size is computed by strlen(name).

TODO: Document it in doc/source/reference/api/grn_plugin.txt.