trace-graph: Make helper functions to convert time and x Add convert_x_to_time() and convert_time_to_x() instead of hard coding it and having it error prone. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>