Fixed deprecated function calls in gazebo_plugins