Fix wrong pointer checking in shjpeg_malloc()
libjpeg_wrap: remove useless adjustment of pitch values
libjpeg_wrap: use shjpeg_malloc() instead of uiomux_malloc()