adapt to Lua 5.2

Fixes these:

* https://github.com/phst/lualatex-math/issues/8
* http://tug.org/pipermail/lualatex-dev/2013-August/001596.html