window: Fix headerbar item positions

https://bugzilla.gnome.org/show_bug.cgi?id=721752
headerbar: use the old order when compiled with gtk+ 3.10