Fix nullptr dereference.

This is causing an error in vts_ibase_test.

Bug: N/A
Test: vts_ibase_test on marlin [  PASSED  ] 6 tests.
Change-Id: I5cfac8e3643ff5855c6d5ef69b64ba2786bc7d59
diff --git a/contexthubhal/NanohubHidlAdapter.cpp b/contexthubhal/NanohubHidlAdapter.cpp
index a6a471a..fcfb371 100644
--- a/contexthubhal/NanohubHidlAdapter.cpp
+++ b/contexthubhal/NanohubHidlAdapter.cpp
@@ -519,6 +519,10 @@
 
 Return<void> Contexthub::debug(const hidl_handle& hh_fd,
                                const hidl_vec<hidl_string>& hh_data) {
+    if (hh_fd == nullptr || hh_fd->numFds < 1) {
+        return Void();
+    }
+
     String8 result;
     int fd = hh_fd.getNativeHandle()->data[0];