pthreadcreate.c: Fix bug where attr used instead of the_attr