Qatar and Turkey agreed to extend a currency swap deal between their central banks during Turkish President Recep Tayyip Erdogan's trip to Doha.