Fixed P4 off by 32 pixels bug

Previously even in the P4 1-bit black-and-white bitmap I was putting
'255\n' in the header, which in the 1-bit version shows up as image data
instead of specifying the maximum pixel value as in P5 and P6.