[Bug 12351] thread stack PAGE_GUARD/overflow handling (NT compatibility)