[PATCH 5.15 552/913] bareudp: use ipv6_mod_enabled to check if IPv6 enabled