fix endian subarchs for sh arch