[mach-o] Support -F and -framework options in darwin driver

Darwin has a packaging mechanism for shared libraries and headers called
frameworks.  A directory Foo.framework contains a shared library binary file
"Foo" and a subdirectory "Headers". Most OS frameworks are all in one
directory /System/Library/Frameworks/.  As a linking convenience, the linker
option "-framework Foo" means search the framework directories specified
with -F (analogous to -L) looking for a shared library Foo.framework/Foo.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@215680 91177308-0d34-0410-b5e6-96231b3b80d8