jpegdec: decode the correct number of lines for interlaced frames