adapter.xml: Check serialization of `annotation` in `AnnotatedRelationshipElement`
According to the metamodel, it should be of type
DataElement, while we (de)-serialize as
Reference. This is correct to the current XSD-Schema, since there is currently no
dataElement_t, but it will probably get added with the new version of the schema, we should check it then.