sock: make lockdep_sock_is_held static inline