Properly free thread stacks on NPTL systems.