Move ns-specific menu-bar code from term/ns-win.el to menu-bar.el.