Cleanup thread stack allocation. Use a single VirtualAlloc for TEB and