Bug 701232 - Painting tools still slow when used in Quick Mask mode

Set the format of GimpChannel's gegl:color node depending on whether
the buffer is linear or gamma-corrected.