Cache 'lastDabJob' value
Calculation of the last DAB job may last forever, when the brush is
"highly optimized" and most of its dabs are purely COPY records.
In such cirsumstances iteration though 300-1000 values on each
addDab() may take up to 70% of CPU time.
Fixes T7052