Fixed out parameter marshaling when the parameter type was a typedef type.