net/ipv4: switch do_ip_setsockopt to sockptr_t