The program started off as IMP, Image Manipulation Program. They added a G (General) to make it a reference to a character in Pulp Fiction.
The name's history has nothing to do with ableism. Besides, not many artists care; look up what a "gimping machine" is :).
Words can have multiple meanings and context matters a lot. Besides its usage as a slur is pretty outmoded by now.