Bug 958008 - Avoid copying images on Android/Gonk when there's nothing to optimize, r=jrmuizel