Fix out of range access in PE parser (thanks mr valgrind!)