[PATCH 6.10 309/482] perf/core: Fix small negative period being ignored