perf/x86/intel/uncore: Fix wrong box pointer check