tools lib traceevent: fix pointer-integer size mismatch