make AlgorithmCiftiResample free memory when it doesn't need anymore, to reduce memory requirements for dconn resampling