net: fix netconsole when CONFIG_DM_ETH is set