### 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)

func_node->body = alloc_node<BlockNode>();
				func_node->body->parent_function = func_node;
				tk = _get_token();
				while (true) {
					if (tk.type == TK_PARENTHESIS_CLOSE) {
						break;
					}
#ifdef DEBUG_ENABLED
					keyword_completion_context = CF_CONST_KEYWORD | CF_FUNC_DECL_PARAM_SPEC | CF_PRECISION_MODIFIER | CF_FUNC_DECL_PARAM_TYPE; 
					if (_lookup_next(next)) {
						if (next.type == TK_CONST) {
							keyword_completion_context = CF_UNSPECIFIED;
						} else if (is_token_arg_qual(next.type)) {
							keyword_completion_context = CF_CONST_KEYWORD;
						} else if (is_token_precision(next.type)) {
							keyword_completion_context = (CF_CONST_KEYWORD | CF_FUNC_DECL_PARAM_SPEC | CF_FUNC_DECL_PARAM_TYPE);
						} else if (is_token_datatype(next.type)) {
							keyword_completion_context = (CF_CONST_KEYWORD | CF_FUNC_DECL_PARAM_SPEC | CF_PRECISION_MODIFIER);
						}
					}
#endif 
					bool param_is_const = false;
					if (tk.type == TK_CONST) {
						param_is_const = true;
						tk = _get_token();
#ifdef DEBUG_ENABLED
						if (keyword_completion_context & CF_CONST_KEYWORD) {
							keyword_completion_context ^= CF_CONST_KEYWORD;
						}
						if (_lookup_next(next)) {