perf thread_map: Fix the sizeof() calculation for map entries