Formation of Kirkendall voids