[PATCH 4.14 012/115] libnvdimm/btt: Fix a kmemdup failure check