ppm: fix header parsing

According to the spec[1] there is a _single_ whitespace character right
after the max color value. So there is no need to skip characters after
the last call to `ppm_get_long`.

[1]: http://netpbm.sourceforge.net/doc/ppm.html
Merge pull request #26 from deltheil/master

ppm: fix header parsing