Anomalous phase shift in a Josephson junction via an antiferromagnetic interlayer