Bug 43819: Fix LuaJIT compatibility (LUAI_MAXCALLS)

If LUAI_MAXCALLS is not present, use its default value (20000).

Change-Id: I34f331b62153aed46c58a7ddc19037ffb3f74a5c