### Godot version

v4.1.dev.custom_build.a7276f1ce

### System information

Win10, AMD 2600, GeForce GTX 1060, Vulkan API 1.3.205

### Issue description

I can't get correct color data from an array of source_color type.
The color data is saved as **Color** in the file:
`shader_parameter/palette = [Color (1, 0, 0, 1), Color (0, 1, 0, 1), Color (0, 0, 1, 1)]`
Shouldn't it be saved as PackedColorArray?


### Steps to reproduce

1.Declare an array of source_color type.
2.Set colors.

### Minimal reproduction project

[shadertest.zip](https://github.com/godotengine/godot/files/11246504/shadertest.zip)

completion_base_array = uniform.array_size > 0;
						
						do {
							tk = _get_token();
							completion_line = tk.line;
							if (!is_token_hint(tk.type)) {
								_set_error(RTR("Expected valid type hint after ':'."));
								return ERR_PARSE_ERROR;
							}
							if (uniform.array_size > 0) {
								if (tk.type != TK_HINT_SOURCE_COLOR) {
									_set_error(RTR("This hint is not supported for uniform arrays."));
									return ERR_PARSE_ERROR;
								}
							}
							ShaderNode::Uniform::Hint new_hint = ShaderNode::Uniform::HINT_NONE;
							TextureFilter new_filter = FILTER_DEFAULT;
							TextureRepeat new_repeat = REPEAT_DEFAULT;
							switch (tk.type) {
								case TK_HINT_SOURCE_COLOR: {
									if (type != TYPE_VEC3 && type != TYPE_VEC4 && !is_sampler_type(type)) {
										_set_error(vformat(RTR("Source color hint is for '%s', '%s' or sampler types only."), "vec3", "vec4"));
										return ERR_PARSE_ERROR;
									}
									if (is_sampler_type(type)) {
										if (uniform.use_color) {
											_set_error(vformat(RTR("Duplicated hint: '%s'."), "source_color"));
											return ERR_PARSE_ERROR;
										}
										uniform.use_color = true;