[PATCH openEuler-5.10 24/56] ceph: allow ceph_put_mds_session to take NULL or ERR_PTR