[PATCH 6.1 046/132] media: imx-jpeg: Cleanup after an allocation error