ProtoClasses in the rootpcm preserve IO attributes with genreflex

as they are not read from the comments in the code, the AST needs
to be annotated accordingly.