libc/net/nscachedcli.c: remove write-only variables
(cherry picked from commit 0e00befcaf6614c513fb32485ea9a2b188169bc2)