bonding: convert mode setting to use the new option API