Allows both GaudiAlgorithm and Gaudi::Algorithm instances to own functors.
GaudiAlgorithm
Gaudi::Algorithm