[PATCH 5.17 0677/1126] bareudp: use ipv6_mod_enabled to check if IPv6 enabled