net/bonding: fix possible null pointer reference