Fix building Regress-1.0.gir with cairo disabled

We need to define GI_DISABLE_CAIRO when scanning to create the GIR,
not just when compiling the library, otherwise we'll fail because
cairo-gobject.h is not found.