luci-base: optimize luci.tools.webadmin.iface_get_network()