Fix two bugs in src/ngx_http_lua_shdict.c

Patches are simple.

* miss `return NGX_ERROR` in ngx_http_lua_ffi_shdict_get()
* ngx_http_lua_shared_dict_get() returns with mutex locked if buffer of LUA_TSTRING value is not initialized.