Lions Gate Entertainment has agreed to buy the EOne film and TV studio from toymaker Hasbro for $375 million in cash plus the assumption of loans. Existing titles include the reality show “Naked and Afraid” and a distribution arm for popular series such as “The Walking Dead.” Hasbro, which gained the popular “Peppa Pig” kids franchise when it acquired the …