Merge pull request #2681 from clumens/libcib-rc
High: libcib: Fix handling the return value of cib_internal_op.