perf/trace/scripting: syscall-counts-by-pid script cleanup