[PATCH v6 1/6] pmem: Add functions for reading/writing page to/from pmem