Shape deformation of embedded metal nanoparticles by swift heavy ion irradiation