[GStreamer] clear GL error state before allocating textures

In some cases the error state might be set even before the sink tries
to allocate a texture so make sure it's cleared to avoid future bad
error reports.