Added API functions iio_device_reg_read / iio_device_reg_write

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