tracing/probe: Change traceprobe_set_print_fmt() to take a type