perf/trace/scripting: syscall-counts script cleanup