Update pthread structs and functions

Open 4lDO2 requested to merge 4lDO2/liblibc:redox into master

Merge request reports