[PATCH 5.16 0613/1017] bareudp: use ipv6_mod_enabled to check if IPv6 enabled