Bug 676071 - Make GeglBufferIterator's flags parameter an enum type

Add enum GeglAccessMode { GEGL_ACCESS_READ, _WRITE, _READWRITE } and
change everything to use it. Add compat #defines for the old values.