Terahertz spin-transfer torque oscillator based on a synthetic antiferromagnet