[PATCH 7/7] perf/x86/intel/uncore: Fix invalid unit check