Add helper to convert a VInt.t to an int

The title says it all...