Properly fix the issue in GdipAddPathStringI from 429cf5deb937ce458da2b6b60c15b8cb1e259d54

It wasn't a GCC bug at all, the code in the function is actually invalid C as the pointer to rect stops being valid after the if.
The proper fix is to move the declaration of rect outside the if, so it stays valid in the entire function.