Bug 856486 (Part 1) - Avoid asserts triggered by rapid off-main-thread decoding. r=jrmuizel
Bug 856486 (Part 2) - Buffer the last fully-decoded frame for multipart images. r=jrmuizel