markdown: Fix build with at least GObject 2.24
Merge pull request #181 from b4n/markdown/glib-2-24-compat

markdown: Fix build with at least GObject 2.24