[PATCH 4.14 089/166] perf cpumap: Fix snprintf overflow check