[PATCH v5 2/7] pmem, x86: move x86 PMEM API to new pmem.h header