Merge "Add __pure2 to a few more functions, most notably gettid and pthread_self."