[PATCH 4.9 025/177] tools/testing/nvdimm: fix nfit_test shutdown crash