Turkish President Receb Tayyip Erdogan has blamed ISIL for a suicide attack on a wedding party in the southeastern city of Gaziantep near the border with Syria.