Avoid headerbar changes except in Unity

Using the title is better for both desktops, but let's avoid UI changes
in the 3.14 branch when we're not running in Unity.