[PATCH 4.14 065/246] perf/x86/intel/uncore: Correct fixed counter index check in generic code