Move declarations above code, to keep MSVC happy.

With this and other patches, moar-jit is back to building on MSVC.