[appmenu-gtk] Fix build with GTK 3.8