[PATCH 6.9 091/374] perf bench internals inject-build-id: Fix trap divide when collecting just one DSO