Merge "Fix pthread_getattr_np for the main thread."