[PATCH 5.15 154/731] media: coda: jpeg: Add check for kmalloc