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