Fix "unknown type name 'off_t'" build error on mingw.

See [rust-lang/llvm PR](https://github.com/rust-lang/llvm/pull/1)

closes #10893