Implement upgrade path for the new menu structure. Issue #18728.

Civi has no method for handling upgrading the menu structure to match changes
made to the menu in an update. Those changes are stored in a one-off sql
template file and once they get loaded during installation, they are never
used again. So, this commit does the grunt work of migrating old
installation's Reports menu to use the new Reports menu structure we've
implemented.