Never try to generate copy relocs for shared libs

This fixes some assertion failures when R_RISCV_64 and R_RISCV_CALL_PLT
were used against the same global symbol.