libceph: fix a bad assertion

Fold this back into the patch that created it.

Signed-off-by: Alex Elder <elder@inktank.com>