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

--HG--
extra : rebase_source : f10703d971eef9ce4d9416d03eca0556882cce3b