[IPV4]: Fix byte value boundary check in do_ip_getsockopt().