Fix: implicit conversion of enum types in consumer

Remove implicit conversions from enumeration type 'enum lttng_error_code'
to enumeration type 'enum lttcomm_return_code' found by clang.
Add missing error message for lttcomm_return_code