Fix thread stack limits on base thread in cygwin

Summary: Because of the nature of the pthreads layer, the attr passed to pthread_attr_getstack MUST be the one passed through pthread_create OR it needs to be fetched with the gnu extension pthread_getattr_np

Reviewed By: @JoelMarcey

Differential Revision: D1501623