Merge "Move gettid() into libcutils."