Generic Torelli for semiquasihomogeneous singularities