fix(util/stackinfo): memory leak at get_stack_size

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