fix build error when tests are disabled in geotools ogr brdg