Move variable declaration to the top its block for MSVC compatibility.

This causes a build failure with MSVC 2010/2012, see Gecko [bug 1112566](https://bugzil.la/1112566). That bug also contains a bunch of warnings raised by jemalloc_internal.h, but these look inconsequential.