fix(util/script_state): weird crash with Lua 5.1

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(util/script_state): weird crash with Lua 5.1