Bug 1051134 - Revert changes to padding out textures that will be resampled for mobile. r=Bas

--HG--
extra : rebase_source : 62ed83806bdba1ac95dc08e47bb17157e7d6c05a
Bug 1059029 - Fix buffer invalidation logic when using DrawTargetTiled. r=nical

--HG--
extra : rebase_source : 117bdf387a3743f35abbfb68a47b2cd88d1f1dc4