scripts: Allow encodeint.py to take integers in hex notation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
diff --git a/scripts/encodeint.py b/scripts/encodeint.py
index 12be5fe..0d34aee 100755
--- a/scripts/encodeint.py
+++ b/scripts/encodeint.py
@@ -10,7 +10,7 @@
 
 def main():
     filename = sys.argv[1]
-    value = int(sys.argv[2])
+    value = int(sys.argv[2], 0)
 
     outval = struct.pack('<Q', value)
     f = open(filename, 'wb')