or1k: atomic: add 'm' constraint to a_cas p arg

With p constrained as a r, the compiler is free to optimize
away the a_cas once the register value is obtained.
or1k: fix miscalculation in mcontext_t __regs member