ofGst: Fix compilation with GStreamer 0.10

I'm guessing GStreamer 1.0 is used these days, but I still have 0.10 on
a slightly old Fedora.