loci: expose group-mod subtypes

Reviewer: @andi-bigswitch

I wanted to use the real IR inside loci to begin rewriting the wire type
mess, but hiding the group mod subclasses was getting in the way.