perf trace: Fix comm resolution when reading events from file