Stephen King’s 1974 debut novel gets dragged into the modern day in Mike Flanagan’s confident, slick take on the story