intel_pmu: fix compilation error caused by migration to snprintf().