Add two-function special case to AddThrustFunctor.