Revert "isNxpConfigModified() is only used for debug purpose, removing it."

This reverts commit 80b1177ac7782c2870d16a32795761d89b4884f2.

NXP_CORE_CONF_EXTN should be updated even if there isn't a firmware
upgrade.

Bug: 65582747
Test: Modify libnfc-nxp.conf
Change-Id: If0b96b08dbbbb1fa1c5e1df1b9b920e0003a8bfa
(cherry picked from commit 210fc92332b13067c0a2c4bc234167eeab6f2e85)
(cherry picked from commit a79af90cdc79766fe640272126bf9e9d905cb98c)
(cherry picked from commit 8b12aab34f367df47d861c8b791dbb18c9e01d20)
diff --git a/halimpl/pn54x/hal/phNxpNciHal.c b/halimpl/pn54x/hal/phNxpNciHal.c
index be26279..f09294e 100644
--- a/halimpl/pn54x/hal/phNxpNciHal.c
+++ b/halimpl/pn54x/hal/phNxpNciHal.c
@@ -1155,7 +1155,8 @@
   }
 
 #ifdef PN547C2_CLOCK_SETTING
-  if ((fw_download_success == 1) || (phNxpNciClock.issetConfig)
+  if (isNxpConfigModified() || (fw_download_success == 1) ||
+      (phNxpNciClock.issetConfig)
 #if (NFC_NXP_HFO_SETTINGS == TRUE)
       || temp_fix == 1
 #endif
@@ -1212,7 +1213,7 @@
     }
   }
 
-  if (fw_download_success == 1) {
+  if (isNxpConfigModified() || (fw_download_success == 1)) {
     retlen = 0;
     fw_download_success = 0;