tests: net: dns_resolve: Fix resolver tests The compilation was failing if IPv4 was disabled. Also fix the IPv6 test so that they pass properly. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>