Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
Bug 871671 - Only pause the PNG decoder when we really need a new frame. r=joe