No. The wounded bank robber who says "Hey, I gots to know" is played by John Vernon (Canadian actor, known for villain roles).
Samuel L. Jackson was not in Dirty Harry (1971); his breakout was Jungle Fever (1991).