sysfs: convert BUG_ON to WARN_ON