[PATCH 6.1 225/451] ipmr: fix incorrect parameter validation in the ip_mroute_getsockopt() function