fix some fallout of the Dune->Opm conversion

the class->struct change avoids a CLang warning, the second change is
a class that is not tested within opm-porsol but required for opm-upscaling.