[PATCH v2] nvdimm: btt_devs: fix a NULL pointer dereference