[PATCH 6.10 343/634] nvdimm: Fix devs leaks in scan_labels()