Fix paths.cpp
win32.cpp: Move const modifier on parameters passed to system calls

The const keyword must go after the star, not before it, to indicate
that the pointer must be unchanged (instead of the data pointed to).
stdio.cpp: Don't attempt to call posix_fadvise on Windows