[PATCH AUTOSEL 5.4 075/187] perf header: Fix false warning when there are no duplicate cache entries