fix #3990
lua_checkstack -> luaL_checkstack(..., __FUNCTION__);