ar71xx: fix NULL pointer dereference in the ethernet driver