luajit: last changes from Mike Pall