Find the correct symbol when res_* is a define to __res_*