Eliminate pointless copies of ImageResponseMsg in the image task.