Revert r11202: do not create copy relocations when linking to shared libs