[PATCH 5.17 501/772] nvdimm: Fix firmware activation deadlock scenarios