[JK2SP] Some 64 bit, gcc and clang fixes
[JK2SP] More warnings fixes
[MP] ICARUS invalid fwrite arguments
Merge branch 'master' into rend2