inet6: Clean up failure path in do_ipv6_setsockopt().