G8 leaders throw weight behind Arab Spring