ring: Get rid of unnecessary wrapper for get_sockopt_tpacket