bonding: coverity woe in bond_dev_class fuction