libnvdimm: Move nd_device_attribute_group to device_type