Fix compilation when building against GStreamer 0.10

Change-Id: I742e558ddf3353e6fb7a204173bf653e7f3261f2
Reviewed-by: Ilya Smelykh <ilya.smelykh@gmail.com>
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>