Replace use of luaL_optint with luaL_optinteger...

The former is deprecated in Lua 5.3.