Improve the speed of gimp_gradient_get_color_at(), which is used by gimp:gradient during processing when the gradient cache is too big, by disabling type checking, and inlining and avoiding some function calls. (cherry picked from commit 93f4b187)