[PATCH 5.4 081/183] net/x25: fix incorrect parameter validation in the x25_getsockopt() function