fix(lua/thread): uninitialized memory

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(lua/thread): uninitialized memory