Fix gucharmap support for GTK2/GTK3