[Bug 621880] glibc: Support -lpthread static linking by building pthread.a with "ld -r"