[PLAT-6853] fix a few remaining calls to deprecated toDerivative()