posix: reduce the number of assumptions made by `dl_iterate_phdr`

Not yet fully compatible with the new linker, but still progress.

Closes #25786
57889cae80Jacob Young committed on 11/9/2025, 8:31:26 AMparentd33c00c
8 files changedLine totals unavailable