Astronomers discover technique to spot AI fakes using galaxy-measurement tools