Update AdaptiveControlModule.cpp

Fix for yarp 2.3 compatibility