Fix isJavaCompatible test for interface.

The way this DFS is setup, deepIs* methods must call deepIs* methods of
super classes, and is* methods of members.

Bug: N/A
Test: manual with the following interface while working on b/110269925
Test: update-makefiles, nothing changes

interface ISafeUnion {
    safe_union LargeSafeUnion {
        interface a;
        fmq_sync<uint8_t> b;
        fmq_unsync<uint8_t> c;
    };
};

Change-Id: I570781eb1792bd3b22652ebdbfa57e8a1df9371f
diff --git a/Interface.cpp b/Interface.cpp
index 117dd65..c02e72d 100644
--- a/Interface.cpp
+++ b/Interface.cpp
@@ -996,7 +996,7 @@
         }
     }
 
-    return Scope::isJavaCompatible(visited);
+    return Scope::deepIsJavaCompatible(visited);
 }
 
 bool Interface::isNeverStrongReference() const {