This makes it so each thread has its own __res_state instead of using the global _res which could cause data races. Differential Revision: https://phabricator.services.mozilla.com/D202400