[YARP_OS/Log] Fix deprecated warnings in old Logger