toRawType
Returns a raw type representation of the current TypeInfo.
A raw type is a TypeInfo instance without a kotlinType, representing a type-erased version of the original type (e.g., List instead of List<String>).
This is primarily used for dependency injection covariance matching, allowing resolution of typed dependencies using raw type keys when no specific type information is available.
Return
A new TypeInfo with kotlinType set to null.