[PATCH 6.16 440/627] perf record: Cache build-ID of hit DSOs only