bonding: fix WARN_ON when writing to bond_master sysfs file