[PATCH 5.2 206/215] libnvdimm/bus: Prevent duplicate device_unregister() calls