[4.19-stable PATCH 4/6] libnvdimm/region: Register badblocks before namespaces