Introduce xlookup64 function

This is necessary for the upcoming change of xlat.val type.

* defs.h (xlookup): Rename to xlookup64, change type of integer argument
to uint64_t.
(xlookup): New static inline function.
* util.c (xlookup): Rename to xlookup64, change type of integer
argument to uint64_t.
Based on patch by Jeff Mahoney <jeffm@suse.com>.
diff --git a/defs.h b/defs.h
index 1423770..3855ce5 100644
--- a/defs.h
+++ b/defs.h
@@ -521,7 +521,7 @@
 extern int pathtrace_match(struct tcb *);
 extern int getfdpath(struct tcb *, int, char *, unsigned);
 
-extern const char *xlookup(const struct xlat *, const unsigned int);
+extern const char *xlookup64(const struct xlat *, const uint64_t);
 extern const char *xlat_search(const struct xlat *, const size_t, const unsigned int);
 
 extern unsigned long get_pagesize(void);
@@ -678,6 +678,12 @@
 	printxvals(val, dflt, x, NULL);
 }
 
+static inline const char *
+xlookup(const struct xlat *x, const unsigned int val)
+{
+	return xlookup64(x, val);
+}
+
 /* Strace log generation machinery.
  *
  * printing_tcp: tcb which has incomplete line being printed right now.
diff --git a/util.c b/util.c
index 763fd11..2b4178c 100644
--- a/util.c
+++ b/util.c
@@ -121,7 +121,7 @@
 }
 
 const char *
-xlookup(const struct xlat *xlat, const unsigned int val)
+xlookup64(const struct xlat *xlat, const uint64_t val)
 {
 	for (; xlat->str != NULL; xlat++)
 		if (xlat->val == val)