Fix structure passing in ARM calling convention