Shelley Duvall was hurt by the treatment she got from director Stanley Kubrick on The Shining, 1980