On the Endomorphisms of Weyl Modules over Affine Kac–Moody Algebras at the Critical Level