lua: use lua_set_funcs to replace luaL_register in 5.3
lua: use lua_set_funcs to replace luaL_register in 5.3

Ref #14695

xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc