get_palette_color_context: code cleanup consts, comments and other small readability improvements. Change-Id: I40c5a652811a796fdb91dc7ca6b108e8871f72d1