Safe Model-Based Multi-Agent Mean-Field Reinforcement Learning