perf: Fix off by one in perf_swevent_init()