Handle specified pthread stack sizes < PTHREAD_STACK_MIN.

This fixes a problem where specifying a smaller (non-zero) size would
create a thread with the default stack size (10MB), which leads to
failure in the BootUpMemoryUse test.