Can quasicrystals survive in planetary collisions?