Check type in SyncDataType's DataTypeDefintion_AfterSave handler to avoid exception when saving DocumentType

The AfterSave event is defined on CmsNode so the sender isn't guaranteed to be a DataTypeDefinition instance.