[YARP_OS/Log] Rename setLogCallback to setPrintCallback and add setForwardCallback
[YARP_OS/LOG] Call the right print_callback and forward_callback

This also fixes 2 -Waddress warnings.