luci-base, luci-mod-network: migrate getDUIDHints method to C plugin