Added ERR_* codes from x86_64.

Copied the file merrors_ctl.c into sr_arm, to address undefined symbols errors
at link time.
Generalize arch check to armv.l.

In this way it works for armv6l (raspberry pi) and chromebook (armv7l).
Added error code files to sr_arm.

Copied from the sr_x86_64 directory.