Bug 792139 - Discard decoded images as soon as possible on low-memory devices r=kats