Merge "libc: Fix leak in the DNS thread-specific state."