fix(lua): memory leaks, we should not use luaL_error because it does not unwind C++ stack

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>