Fix: libcib: Return NULL if any of the cib_*_new functions fail.
This is preferable to either calling CRM_ASSERT (as one function did) or just dereferencing a NULL pointer (as all the other functions did).