scripts/symbolize.py: use base-16 when converting hex strings

When converting a hex string formatted as '0x<hex>', a value of 0 may
be given for base and Python will automatically assume a base-16
literal. However, since we're always dealing with hex strings (with or
without a 0x prefix), it is more convenient to specify base-16
everywhere.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
diff --git a/scripts/symbolize.py b/scripts/symbolize.py
index 43f378d..8a69117 100755
--- a/scripts/symbolize.py
+++ b/scripts/symbolize.py
@@ -115,9 +115,9 @@
 
     def resolve(self, addr):
         offs = self._load_addr
-        if int(offs, 0) > int(addr, 0):
+        if int(offs, 16) > int(addr, 16):
             return '???'
-        reladdr = '0x{:x}'.format(int(addr, 0) - int(offs, 0))
+        reladdr = '0x{:x}'.format(int(addr, 16) - int(offs, 16))
         self.spawn_addr2line()
         if not self._addr2line:
             return '???'