net: secure_seq: Fix warning when CONFIG_IPV6 and CONFIG_INET are not selected