Move system header includes above valgrind.h include

This allows rustc to be build under msys2's mingw64 gcc