Wenger confirms Mertesacker contract extension