[PATCH] mm/nvdimm: Fix endian conversion issues