Fix the render process crashing with impl-side-painting enabled

The error message given:
  Not implemented reached in virtual void
  cc::PictureDrawQuad::IterateResources(const ResourceIteratorCallback&)

Use backported fixes that prevent PictureDrawQuads to be serialized
when using the delegating renderer.

Change-Id: I1ef05c2f14e0704339a5f7a6dae815b278c6c9fd
Reviewed-by: Andras Becsi <andras.becsi@digia.com>