Fix https://github.com/llvm/llvm-project/issues/53073
In case of a relocation error, GNU ld's link map includes
the archive member extraction information but not output sections.
Our -Map and --why-extract= are currently no-op in case of an error.
This change makes the two options work.
There is no test that covers this change. And maybe it'll be better to fix the issue directly in DynamicSection<ELFT>::computeContents()?