Fix LuaJIT exception wrapper