document pthread structure ABI constraints in comments