[ELF] Support --defsym=<symbol>=<symbol>.

Currently LLD supports --defsym only in the form of
--defsym=<symbol>=<integer>, where the integer is interpreted as the
absolute address of the symbol. This patch extends it to allow other
symbol name to be given as an RHS value. If a RHS value is a symbol
name, the LHS symbol will be defined as an alias for the RHS symbol.

Internally, a LHS symbol is represented as a zero-size defined atom
who has an LayoutAfter reference to an undefined atom, whose name is
the RHS value. Everything else is already implemented -- Resolver
will resolve the undefined symbol, and the layout pass will layout
the two atoms at the same location. Looks like it's working fine.

Note that GNU LD supports --defsym=<symbol>=<symbol>+<addend>. That
feature is out of scope of this patch.

Differential Revision: http://reviews.llvm.org/D3332

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@206417 91177308-0d34-0410-b5e6-96231b3b80d8
Attempt to unbreak FreeBSD/AMD64 buildbot.

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