Fix weaved to make it work with the new libweave

There have been some API changes on libweave side, so we must
update weaved to work with the new drop of the library.

Change-Id: Idf173557769b5b1c6fa6b73cfc75342301a89e99
3 files changed