test: only do IPv6 check if MONGOC_CHECK_IPV6 is set.