x86: implement struct-typed return values
x86: implement struct-typed function args
autotest: remove obsolete compatibility hack