fstat(): Fix to convert between the NaCl and glibc struct layouts