[PECOFF] Fix off-by-one error in .def file parser.

I'm fixing another bug in the parser, and I wanted to submit this
fix as a separate change as it's logically independent from the other.
I'll add a test for this shortly.