[PATCH 4.17 079/336] perf/x86/intel/uncore: Correct fixed counter index check in generic code