build: Make gdk-pixbuf an optional dependency

gdk-pixbuf is only needed for the unit tests. Instead of bailing
if gdk-pixbuf is not found, don't build the tests, i.e., behave as
if --disable-glibtest had been specified.

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