c: future_wrap: take the future before destroying the promise
c: future_wrap: take the future before destroying the promise

Change-Id: I36ee31fb45f9dacd72290d339034816e8499904d

aldebaran/libqi,aldebaran/libqi-java,bsautron/libqi,aldebaran/libqi,aldebaran/libqi-java,aldebaran/libqi-java,aldebaran/libqi,vbarbaresi/libqi