[yarp] fix topic connection

Connection to YARP topics was failing because the port object was used instead of the port name.