Use unsigned count of frames in a vclip
Use common helper to copy and bound palettes
Add typedef palette_array_t for palette data
Centralize palette utilities
Use array for palette_array_t