(pbm_load): Correctly check image size for greyscale pbm.