[ipython] Don't use deprecated IPython.frontend on newer versions of IPython