core.moduleapi: Fix min/maxinteger fallback for Lua 5.2
Maybe these should live in util.mathcompat?
For full information on our dependencies, version requirements, and
where to find them, see https://prosody.im/doc/depends
If you have luarocks available on your platform, install the following:
- luaexpat
- luasocket
- luafilesystem
- luasec