Fix 11.4 issue with hasDefinition(NULL) in MenuItemsResource
On 11.4, when `$menu_link_content_bundle_entity_type = $menu_link_content_definition->get('bundle_entity_type');` returns NULL the hasDefinition call throws an exception.
issue