[ELF] Ignore R_*_NONE relocs when relocating non-alloc sections

We shouldn't report an error for R_*_NONE relocs since we're emitting
them when writing relocations to discarded sections.

Differential Revision: https://reviews.llvm.org/D30279

llvm-svn: 295936
6 files changed