TS-3238: remove _res symbol dependency

The global _res symbol from libresolv was ostensibly being used to
get resolver options, but in fact those options were never used.
We can remove our reference to it.
TS-1256: add ink_file_namemax to replace raw pathconf calls