On the endomorphism rings of local cohomology modules