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)
diff --git a/hal/phNxpNciHal.c b/hal/phNxpNciHal.c
index f3ba207..5a799d5 100644
--- a/hal/phNxpNciHal.c
+++ b/hal/phNxpNciHal.c
@@ -1141,7 +1141,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
@@ -1198,7 +1199,7 @@
     }
   }
 
-  if (fw_download_success == 1) {
+  if (isNxpConfigModified() || (fw_download_success == 1)) {
     retlen = 0;
     fw_download_success = 0;