[sr-dev] git:5.1:df9389a6: app_lua: do lua_checkstack() to ensure enough capacity on Lua stack