refactor(lib/granule): Move granule_set_state() to granule.c

We're about to complicate this function, so move it out of the header.

Change-Id: I16cfdfc5c955f52ae74f6132de67bfd3a13f7a2b
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
2 files changed