[PATCH 4.9 11/51] libnvdimm/btt: Fix a kmemdup failure check