[PATCH 4.19 54/72] net: remove duplicate fetch in sock_getsockopt