libs/core: make luci.model.network compatible with new wireless netifd integration