scripts: dictionary: rename parser module to avoid name collision

The parser module collides with a module in python called parser.
Doesn't seem to be a problem in Linux but for some reason the
search/include order in Windows causes python to import the wrong
parser. The change is to rename the module to dictionary_parser
to avoid the name space collision.

fixes: #36339

Signed-off-by: David Leach <david.leach@nxp.com>
diff --git a/scripts/logging/dictionary/log_parser.py b/scripts/logging/dictionary/log_parser.py
index bfbe379..273b0cc 100755
--- a/scripts/logging/dictionary/log_parser.py
+++ b/scripts/logging/dictionary/log_parser.py
@@ -16,8 +16,8 @@
 import logging
 import sys
 
-import parser
-from parser.log_database import LogDatabase
+import dictionary_parser
+from dictionary_parser.log_database import LogDatabase
 
 
 LOGGER_FORMAT = "%(message)s"
@@ -63,7 +63,7 @@
     if args.hex:
         if args.rawhex:
             # Simply log file with only hexadecimal data
-            logdata = parser.utils.convert_hex_file_to_bin(args.logfile)
+            logdata = dictionary_parser.utils.convert_hex_file_to_bin(args.logfile)
         else:
             hexdata = ''
 
@@ -109,7 +109,7 @@
 
         logfile.close()
 
-    log_parser = parser.get_parser(database)
+    log_parser = dictionary_parser.get_parser(database)
     if log_parser is not None:
         logger.debug("# Build ID: %s", database.get_build_id())
         logger.debug("# Target: %s, %d-bit", database.get_arch(), database.get_tgt_bits())