background: Fix CI build breaking on gnome-desktop API change

The change was added in feeee1c7. For now we will handle the old and the new API
until this can be built.
11 jobs for gnome-bg-api-break in 4 minutes and 51 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #563298
build

00:02:23

 
  Test
passed #563300
asan

00:02:26

passed #563299
test

00:00:55

 
  Manual
manual #563305
allowed to fail manual
armv8
manual #563301
allowed to fail manual
flatpak
manual #563304
allowed to fail manual
msan
manual #563306
allowed to fail manual
ppc64le
manual #563302
allowed to fail manual
tsan
manual #563303
allowed to fail manual
ubsan
 
  Review
manual #563307
allowed to fail manual
review
manual #563308
allowed to fail manual
stop_review