vm: Cleanup constructors and assignment operators

Delete compiler-generated copy constructors and assignment operators and
define destructors.

Signed-off-by: Pekka Enberg <penberg@iki.fi>