[ELF] relocateNonAlloc: clean up workaround code