Tehran aiding al Qaeda links, Petraeus says