configure: check for gtk-mac-intregration only if GTK+ is built for quartz

(cherry picked from commit cfa074628f24211d681b18d96be8eef7d217fcd9)