Development of a magnetic interatomic potential for cubic antiferromagnets: The case of NiO | Synapse