fix missing uncore measurements with likwid-mpirun
Created by: ohlmann
- to check for the first core in a socket, a comparison of the cpu id is done; unfortunately, the comparison is between a string and integers
- converting the cpu id to a number fixes the comparison and the uncore counters (e.g., memory related counters) are read by the first cores in each socket