net/bonding: fix mode type mismatch