Round an overflowed signed int literal off to its type
Support mingw-w64 headers on 64 bit mode