missing const in some pthread_attr_* prototypes