Don't explode verification validation if we don't have an event type
I don't know why this is undefined at this point, or why membership events are ending up here, but this fixes develop for people.
See https://github.com/vector-im/riot-web/issues/12231