Make iio_device_[open|close|read_raw|write_raw] private functions

They are now only used internally by the iio_buffer_* functions, and
were only surcharging the public API.

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