pmem, x86: move x86 PMEM API to new pmem.h header