fix return code lttng_kconsumer_read_subbuffer

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>