fix building nslookup against AOSP bionic

AOSP bionic hides the _nres struct, but then makes calls to
a __res_state() function which doesn't exist.  undefine and
redefine to use __res_get_state() instead

Change-Id: I904c787c6950fa7532c49fbb8524034a5f3f8fcc
1 file changed