[PATCH 5.2 129/413] EDAC/sysfs: Drop device references properly