Fix bug when applying R_SPARC_GOTDATA_OP* relocations to local symbols.