ceph: only set_max_mds if there are mds daemons

Fixes: #8750
Signed-off-by: Sage Weil <sage@inktank.com>