OFDNSResolver: Make canBlock = false opportunistic

Some platforms just don't support non-blocking UDP sockets, but it
should still be possible to resolve DNS names on those.