[PATCH 5.15 495/691] perf/core: Fix small negative period being ignored