Cosmological gravitational waves and Einstein-Straus voids