Support linking GDAL frameworks.

In the case that "gdal-config --libs" returns "-framework GDAL" we
put these in extra_link_args.