memory: update return value ordering in some masche function calls
memory: update return value ordering in some masche function calls

The hard and soft error return values were reordered in the masche
library in commit 7746414

ameihm0912/mig,ameihm0912/mig,mozilla/mig,mozilla/mig,mozilla/mig,ameihm0912/mig,mozilla/mig,mozilla/mig