fix pthread_attr_* implementations to match corrected prototypes