MIPS port

These are all necessary changes I found while porting a vibe.d app to MIPS.
I think we should integrate them in DPL, so that all compilers can use them.