[types] Add macro to auto-derive `TryFrom` for VM errors
[types] Add macro to auto-derive `TryFrom` for VM errors

Closes: #4656
Approved by: dariorussi

aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,libra/libra