cpptools: fix warning about missing destructor in AbstractFunctor<>