Strip "__.SYMDEF*" before re-archiving in combine_libs on macOS and iOS.
This patch changes how combine_libs works on Darwin like platforms to
make sure we don't include any __.SYMDEF
and __.SYMDEF SORTED
symbols on the archive before we repack and run ${RANLIB} on the
archive.
See: #40683 (closed).