Replacing lua_next with rawgeti