With the switch to meson we no longer built with _FILE_OFFSET_BITS which results in fstat being the 32 bit variant, not matching GStatBuf, which is _stat64 on 64bit mingw builds.
This makes things use _fstat64 in this case, to match GStatBuf.
See !1056 (closed)