The number of migrants heading to developed countries has fallen for the first time in 7 years, according to the OECD.