Fixing loading of progressive jpeg images with more than two huffman table (fix #51)