IIOD: Fix some compiler warnings

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>