Fix crash by wrong assertion check

The original destructor didn't actually run.  But since ag/6239075 fixed
the memory leak, this starts to crash.

Test: atest ApkVerityTest (not yet submitted)
Bug: 112037636
Change-Id: Ie7fe3eaf9e1ff1b374243b1d78417423ffba0049
diff --git a/services/core/jni/com_android_server_security_VerityUtils.cpp b/services/core/jni/com_android_server_security_VerityUtils.cpp
index bf96f9a..6cd9f2c 100644
--- a/services/core/jni/com_android_server_security_VerityUtils.cpp
+++ b/services/core/jni/com_android_server_security_VerityUtils.cpp
@@ -122,7 +122,7 @@
     }
 
     ~JavaByteArrayHolder() {
-        LOG_ALWAYS_FATAL_IF(mElements == nullptr, "Elements are not released");
+        LOG_ALWAYS_FATAL_IF(mElements != nullptr, "Elements are not released");
     }
 
   private: