perf tools: Add support to read build id from compressed elf