The original conversion #916388: Convert menu links into entities does not move all MenuLink entity parts to menu_link module
So #1946428: Convert all of confirm_form() in menu.admin.inc to the new form interface and others are make conversion in old namespace
Proposed solution
Move all code that related to MenuLink to menu_link module