Sam Simon, co-creator of “The Simpsons,” was a savior to many of Los Angeles’s shelter dogs facing death.