vcacheoptimizer: Minor refactoring
vcacheoptimizer: Minor refactoring

Convert internal functions to work with pointers instead of std::vector;
this makes it easier to remove std::vector.

zeux/meshoptimizer,zeux/meshoptimizer,zeux/meshoptimizer