Add special treatment of shmat(2).On m68k ELF calling standard (__SVR4_ABI__), if a functionreturns a pointer, the return value should go to a0 as well as d0.