[PATCH 5.0 019/137] libnvdimm/btt: Fix a kmemdup failure check