Palette: use uint16_t to store palette colors

Harmonize the low-bitdepth and high-bitdepth.

Change-Id: I533f717ca189a5e577719821ea5aea940e3b6223
7 files changed