If somehow you can make this a true Mileage Run and do an immediate turnaround at the airport, I'm not sure that you need a visa.
According to the Turkey Consulate's website: "If you will only pass through and will not exit from the airport, you do not need a visa."
http://www.trconsulate.org/english/visa/default.htm