Erdogan says mulling ground operation in Syria