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