Fix 'adb mdns check' when ADB_MDNS=0.

The message should say that mdns discovery is disabled.

Bug: 185828480

Test: ADB_MDNS=0 adb start-server; adb mdns check
Change-Id: I73a9532f3af808e0d802e98714d3413132a0e649
diff --git a/client/transport_mdns.cpp b/client/transport_mdns.cpp
index 843aca8..8fafdb7 100644
--- a/client/transport_mdns.cpp
+++ b/client/transport_mdns.cpp
@@ -276,6 +276,10 @@
 }
 
 std::string mdns_check() {
+    if (!g_state && !g_using_bonjour) {
+        return "ERROR: mdns discovery disabled";
+    }
+
     if (g_using_bonjour) {
         return g_adb_mdnsresponder_funcs.mdns_check();
     }