[cmake] replace remaining add_library calls with yarp_add_plugin

These calls have been deprecated for a long time.
Clean-up motivated by #147