Bug 887466 - Rearrange SyncDecode so that we never try to finish a size decode with the decode lock held. r=seth a=lsblakk

--HG--
extra : transplant_source : %DD%BDp%F5%0Dssm%5B%FAXE%60%0A%F8l%29%01q%A2
extra : histedit_source : b8dcd15565173a335e907f82e45d78913705c22c