netdev: Make netdev_get_devices() take a reference to each netdev.