gstlibav: minor fixes for header files

Move G_BEGIN_DECLS below includes and add missing include

Part-of: <gstreamer/gst-libav!71>
24 jobs for !71 with header-fixes in 31 minutes and 4 seconds (queued for 2 seconds)
merge request