net: ignore duplicate interfaces in TestInterfaceHardwareAddrWithGetmac
net: ignore duplicate interfaces in TestInterfaceHardwareAddrWithGetmac

Sometimes getmac lists many interfaces for the same MAC address,
while Interfaces returns only single name for that address. Adjust
the test to ignore the names that are not returned by the Interfaces.

Fixes #21027

Change-Id: I08d98746a7c669f2d730dba2da36e07451a6f405
Reviewed-on: https://go-review.googlesource.com/59411
Reviewed-by: Mikio Hara <e2f4d2eec1d9a1f781345cdd7260d7d52e6468ae@gmail.com>

Cofyc/go,josharian/go,cloudflare/go,golang/go,nawawi/go,golang/go,cloudflare/go,CAFxX/go,cloudflare/go,golang/go,cloudflare/go,codestation/go,Cofyc/go,golang/go,golang/go,Cofyc/go,nawawi/go,josharian/go,Cofyc/go,CAFxX/go,nawawi/go,cloudflare/go,akutz/go,codestation/go,CAFxX/go,CAFxX/go,codestation/go,josharian/go,CAFxX/go,codestation/go,akutz/go,akutz/go,CAFxX/go,Cofyc/go,CAFxX/go,Cofyc/go,akutz/go,akutz/go,Cofyc/go,akutz/go,codestation/go,golang/go,codestation/go,nawawi/go,akutz/go,christopher-henderson/Go,nawawi/go,nawawi/go,nawawi/go,akutz/go,nawawi/go,cloudflare/go,golang/go,codestation/go,josharian/go,josharian/go,josharian/go,josharian/go,josharian/go,codestation/go,cloudflare/go,Cofyc/go,cloudflare/go,CAFxX/go,golang/go