GTK3: fix some compile warnings