Add setting and checking of non_got_ref flag.

Make use of the non_got_ref as other targets do.

bfd/ChangeLog:

	* elf32-arc.c (elf_arc_check_relocs): Set non_got_ref when
	appropriate.
	(elf_arc_adjust_dynamic_symbol): Check non_got_ref when
	appropriate.