Fix wrongly changed register for open()'s return value in emulation.
Fix wrongly changed register for open()'s return value in emulation.

cksystemsteaching/selfie,ChristianMoesl/selfie,cksystemsteaching/selfie,cksystemsteaching/selfie,ChristianMoesl/selfie