Field‐induced phase transitions in a randomly diluted antiferromagnet. Mean‐field description of classical spin model