network stack: added missing put_device_interface().

* Part of #7040, thanks diver!