Bug 847559 - Handle writes to a size-only JPEG decoder after we've gotten the size. r=seth

--HG--
extra : rebase_source : c02aa4f03dbba90d07f55d383a507bb27f605287