Fix StringReadPPM function from previous commit.