Inter Milan midfielder Wesley Sneijder has moved closer to joining Turkish club Galatasaray, after the two clubs agreed a deal for the player.