gstreamer010: fix compilation against glib 2.38

Fixes #226.