Fix readout of netpbm images containing empty lines (such as those produced by GIMP) See merge request !43