fix find_opaque_for_intermediate in the case where the given type is an opaque
fix find_opaque_for_intermediate in the case where the given type is an opaque

It was returning an OpaqueDefinition instead of a Type class

doudou/modelkit-component,doudou/modelkit-component