jpegdec: Add JPEG picture decoder

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
jpegdec: fixes for mimeType and offset for next scan