feat(util): get_stack_size

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