[PATCH v1 02/17] selftests/nolibc: gettid: restore for glibc and musl