[GFS] Fix bug in endian conversion for metadata header