Move lua_error out of catch handler to defer longjmp.