Update pthread.hpp

corrected initializing pcond::{cond_attr_,cond_}, and moving in `operator ='