render/pixman: add support for shadow buffers
When DRM_CAP_DUMB_PREFER_SHADOW
is enabled, we should allocate a shadow buffer and draw to it instead of directly using the hw buffer. When rendering is done we can copy the shadow buffer to the hw buffer in one go.