A weak reference to a symbol that is only weakly referenced in
dependencies should remain weak, not get promoted to undef or dropped.


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