net/bonding: fix range of mode parameter