netbsd: restrict PT_LOAD workaround to dlibs only

NetBSD supports executables with > 2 PT_LOAD segments but dynamic
libraries continue to expect exactly 2 PT_LOAD segments.
247b353609Michael Dusan committed on 5/16/2023, 8:45:10 PMparentb754068
1 file changedLine totals unavailable