lib: fix an issue of regression at fb55d99ca8b81563967396447a0d4c03c1eb3d82 (lib_sock_sendmsg)

iovec needs to be copied during sendmsg.