put PDAL_HAVE_GDAL guard around setSpatialReference call in BPF reader