spline: use evalDerivative_() instead of evalDerivative() if the segment index is known

thanks to @bska for catching this!