Lock cs_vSend and cs_inventory in a consistent order even in TRY
Lock cs_vSend and cs_inventory in a consistent order even in TRY

>>> backports bitcoin/bitcoin@fd13eca147be80f3ebd1a5a1db1ce75bbeeb1953
PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,Darknet-Crypto/Darknet,PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX,PIVX-Project/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet