nptl threads: Fix bug in using a weak variable.