Antiferromagnetic interlayer coupling in diluted magnetic thin films with RKKY interaction