[PATCH 5.15 015/179] net: nexthop: fix null pointer dereference when IPv6 is not enabled