crush: Avoid ruleset overflow.

Add check to avoid ruleset of struct crush_rule_mask overflow.

Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
"too many rulesets (max " << CRUSH_MAX_RULESET << ")"