Add error check when initializing image in jpeg_gpu.
Add error check when initializing image in jpeg_gpu.

Check for an out of memory error when calling image_init() after
 decoding the jpeg headers.

negge/jpeg_gpu,negge/jpeg_gpu