gcr: Fix race building gdbus-codegen header and source

https://bugzilla.gnome.org/show_bug.cgi?id=737622