Fix performance problem in 'set' blend mode due to an optimization bug in GCC.