[PATCH openEuler-5.10-LTS 04/66] nvdimm: Fix badblocks clear off-by-one error