Use st_mtim if st_mtime is macro, fix #1510
Use st_mtim if st_mtime is macro, fix #1510

In POSIX.1-2008, sys_stat has a st_mtim member and a st_mtime backward
compatibility macro. Should help avoid hardcoding platform detection.

ninja-build/ninja,ndsol/subninja,ninja-build/ninja,iwadon/ninja,Qix-/ninja,atetubou/ninja,maruel/ninja,AoD314/ninja,iwadon/ninja,maruel/ninja,bradking/ninja,Qix-/ninja,AoD314/ninja,AoD314/ninja,maruel/ninja,sgraham/ninja,sgraham/ninja,ndsol/subninja,bradking/ninja,iwadon/ninja,bradking/ninja,atetubou/ninja,Qix-/ninja,sgraham/ninja,ninja-build/ninja,Qix-/ninja,ndsol/subninja,atetubou/ninja,bradking/ninja,ninja-build/ninja,maruel/ninja,atetubou/ninja,sgraham/ninja,iwadon/ninja,ndsol/subninja,AoD314/ninja