Fixed coverity warnings

Fixed Warnings: SIZEOF_MISMATCH, IDENTICAL_OPERANDS
diff --git a/nci/jni/NativeNfcManager.cpp b/nci/jni/NativeNfcManager.cpp
index 513767f..37f5358 100644
--- a/nci/jni/NativeNfcManager.cpp
+++ b/nci/jni/NativeNfcManager.cpp
@@ -6665,7 +6665,7 @@
         }
       }
 
-      actualWrittenCntxLen = write(fileStream, &uiccContextLen, 1);
+      actualWrittenCntxLen = write(fileStream, &uiccContextLen, sizeof(uiccContextLen));
       if (uiccContextLen > 0x00) {
         cntx_len = uiccContextLen;
         techCap = uiccTechCapLen;
diff --git a/nci/jni/SecureElement.cpp b/nci/jni/SecureElement.cpp
index bc18834..a890125 100755
--- a/nci/jni/SecureElement.cpp
+++ b/nci/jni/SecureElement.cpp
@@ -1675,8 +1675,6 @@
       }
       if (nfcFL.nfcNxpEse) {
         if (nfcFL.eseFL._ESE_DUAL_MODE_PRIO_SCHEME ==
-                nfcFL.eseFL._ESE_WIRED_MODE_RESUME ||
-            nfcFL.eseFL._ESE_DUAL_MODE_PRIO_SCHEME ==
                 nfcFL.eseFL._ESE_WIRED_MODE_RESUME) {
           if (!checkForWiredModeAccess()) {
             DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf(