[backport PATCH 1/2] tools perf: Fix compilation error with new binutils