perf script: Move printing of 'common' data from print_event and rename