Port libjpeg to -ng, fix the jpegint.h copy, closes #562