tools/testing/nvdimm: fix return code for unimplemented commands