[PATCH 5.15 150/317] udp: fix incorrect parameter validation in the udp_lib_getsockopt() function