Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.