perf: Fix PERF_EVENT_IOC_PERIOD to force-reset the period