Add cairo_gl_device_set_thread_aware to reduce context switch.
Add STENCIL_SIZE to rgba_attribs