Problem/Motivation
This happens if you try to delete to delete the only pending revision of an entity that was created *before* enabling workflows, so the previous default revision didn't have a content_moderation entity.
Steps to reproduce:
1. Create an article.
2. Enable content_moderation, enable it for article
3. Create a draft
4. Delete that draft.
5. Boom.
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Core\Entity\EntityStorageException</em>: Default revision can not be deleted in <em class="placeholder">Drupal\Core\Entity\ContentEntityStorageBase->deleteRevision()</em> (line <em class="placeholder">677</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php</em>). <pre class="backtrace">Drupal\content_moderation\EntityOperations->entityRevisionDelete(Object) (Line: 118)
content_moderation_entity_revision_delete(Object)
call_user_func_array('content_moderation_entity_revision_delete', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('entity_revision_delete', Array) (Line: 206)
Drupal\Core\Entity\EntityStorageBase->invokeHook('revision_delete', Object) (Line: 756)
Drupal\Core\Entity\ContentEntityStorageBase->invokeHook('revision_delete', Object) (Line: 681)
Drupal\Core\Entity\ContentEntityStorageBase->deleteRevision('2') (Line: 117)
Drupal\node\Form\NodeRevisionDeleteForm->submitForm(Array, Object)