Fix build with libjpeg release 9
Merge pull request #278 from taka-no-me:fix_build_jpeg9