create_thread_struct: don't allocate os_attr separately.