posix: add pthread wrapper

Signed-off-by: Christian Mehlis <mehlis@inf.fu-berlin.de>