Bug 823236 - Fix the lifetime of SharedPlanarYCbCrImage/SharedRGBImage. r=nical, a=bajaj