video-anc: G_GNUC_CHECK_VERSION was added in GLib 2.42

Define our own version if compiling with older versions. We currently
only require GLib 2.40.
3 jobs for g-gnuc-check-version in 6 minutes and 51 seconds (queued for 5 minutes and 41 seconds)
Status Name Job ID Coverage
  Preparation
passed manifest #52133

00:00:23

 
  Build
passed build fedora x86_64 #52134

00:03:17

 
  Full Builds
passed build android arm64 api28 #52135

00:03:10