Make array.c and vm.c share value_move().

For maintainability.