correct i_lines_read for direct color bmp files