fix stack-use-after-scope in netd

Pointer 'ipLiteral' refers to volatile rvalue

Bug: 119496958
Test: compile and push libnetd_resolv.so to device. wifi can work
Change-Id: I1a043abb018301221cb4cbefa9ba9febbbaa7fbd
1 file changed