Fix getaddrinfo() handling in blocking resolver
If getaddrinfo() fails, the first call setting the result will already free
the resolver. Trying to access it afterwards will lead to a warning to
the console from glib. getaddrinfo() shouldn't return NULL for the result
list if it returns successful.
VOID:INT
VOID:POINTER
VOID:VOID
VOID:STRING
VOID:BOOLEAN
BOOLEAN:VOID
VOID:OBJECT
VOID:BOOLEAN,OBJECT