[PATCH] x86/pmem: Fix a null pointer dereference in register_e820_pmem()