clients/c/lib_iio_cmdsrv: Don't mix local and remote errors - add base offset

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>