iio: Add support for cyclic block transfers

If a block has the IIO_BUFFER_BLOCK_FLAG_CYCLIC flag set that block will be
repeated until the buffer is disabled.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>