It's a subclass of GstAmcSurfaceTexture so should have that as first struct member or otherwise it won't work. Fixes #1105