Emma Stone says acting cured her panic attacks