[mach-o] Add support for parsing of weak-def symbols