[libshjpeg GIT PULL v2] add the VIO support and some fixes

Hello

Here's a pull request version 2.