fix Issue 12896 - ld.gold complains about bad relocations when building libphobos2.so

Revert "Merge pull request #3597 from MartinNowak/fix879"

This reverts commit dc0cd23ac22bec6818d0f907aefe6fd1f58dd7b8, reversing
changes made to e01af42edb9b3d6c718940dfa04bd29649b7254f.