[PATCH 4.14 008/115] libnvdimm/namespace: Fix a potential NULL pointer dereference