gl: avoid rtree bug
gstate: use const clear pattern when operator is CAIRO_OPEATOR_CLEAR