implements a no-downcast mode, but we can't use it in toPalladium
g.PackageDefs are now converted to p.Aux.CompUnits