Resolves #11083 Per bootchk, changes in function calls to palette_entry_get_color () and gradient_segment_get_left_color () were broken in Python scripts due to GelColor being used post Color Space Invasion. This patch fixes the calls and returns.