OFXMLElementBuilder: Allow subclassing

This is useful for slightly altering the behavior, e.g. rejecting
certain things.