emacs: split into emacs, emacs-common, emacs-x11 and emacs-gtk2