Matrix-material dependence on the elongation of embedded gold nanoparticles induced by 4 MeV C60 and 200 MeV Xe ion irradiation