Creates an ExpressionOutput from the given type. Warning: This function's main purpose is to allow the creation of serialized expression outputs. It should not be used to add outputs to a material expression.