Islands bruttonationalprodukt (BNP) krympte med 3,1 procent under andra kvartalet jämfört med kvartalet före, enligt en preliminär beräkning.