io-tiff.c: Declare Variables at the Top of Block

...so that builds on C89 compilers such as pre-2013 Visual Studio can be
fixed, taken from diff from John E.

https://bugzilla.gnome.org/show_bug.cgi?id=739779