Fix struct stat64 in the 32-bit kernel and struct stat in the 64-bit