Reduce stack memory usage.

After a stack overflow, it came to attention that OpenVMS's threads
default to having a mere 40776 bytes worth of stack memory.  This commit
removes and shrinks a couple stack allocations and should help with
programming on VMS where scarce stack memory is a concern.