measure_disk_usage: skip progress on NULL callback
measure_disk_usage: skip progress on NULL callback

In the real_..._async wrapper for GFile.measure_disk_usage, skip the
wrapping of the progress callback in the case that the user gave a NULL
callback to the async function.  This is a performance improvement
because the sync version won't have to do continuous sampling of the
clock to issue a call to the wrapper which will then do nothing.

Unfortunately, I made this simplifying assumption when writing the
wrapper, but forgot to actually implement it when making the sync call.
As a result, the wrapper is still called, and invokes the NULL callback,
causing a segfault.

Make sure we pass NULL if the user's callback was NULL.

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

lukasz-skalski/glib,cosimoc/glib,krichter722/glib,johne53/MB3Glib,endlessm/glib,endlessm/glib,Distrotech/glib,krichter722/glib,krichter722/glib,tchakabam/glib,mzabaluev/glib,endlessm/glib,endlessm/glib,gale320/glib,gale320/glib,MathieuDuponchelle/glib,cention-sany/glib,johne53/MB3Glib,mzabaluev/glib,gale320/glib,ieei/glib,johne53/MB3Glib,MathieuDuponchelle/glib,tamaskenez/glib,krichter722/glib,lukasz-skalski/glib,cention-sany/glib,krichter722/glib,Distrotech/glib,lukasz-skalski/glib,mzabaluev/glib,cosimoc/glib,tamaskenez/glib,tchakabam/glib,cention-sany/glib,Distrotech/glib,cention-sany/glib,johne53/MB3Glib,tchakabam/glib,endlessm/glib,mzabaluev/glib,MathieuDuponchelle/glib,tchakabam/glib,tamaskenez/glib,MathieuDuponchelle/glib,tchakabam/glib,tamaskenez/glib,cention-sany/glib,gale320/glib,johne53/MB3Glib,lukasz-skalski/glib,MathieuDuponchelle/glib,ieei/glib,ieei/glib,lukasz-skalski/glib,ieei/glib,cosimoc/glib,gale320/glib,ieei/glib,johne53/MB3Glib,cosimoc/glib,tamaskenez/glib,cosimoc/glib,Distrotech/glib,Distrotech/glib,mzabaluev/glib