IIO Device Sink: Fix bug introduced in commit e5968986

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