thumbnailer: fix code to work with Gstreamer 1.0