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

tk = _get_token();
				if (tk.type != TK_CURLY_BRACKET_OPEN) {
					_set_error(RTR("Expected a '{' to begin function."));
					return ERR_PARSE_ERROR;
				}
				current_function = name;
#ifdef DEBUG_ENABLED
				keyword_completion_context = CF_BLOCK;
#endif 
				Error err = _parse_block(func_node->body, builtins);
				if (err) {
					return err;
				}
#ifdef DEBUG_ENABLED
				keyword_completion_context = CF_GLOBAL_SPACE;
#endif 
				if (func_node->return_type != DataType::TYPE_VOID) {
					BlockNode *block = func_node->body;
					if (_find_last_flow_op_in_block(block, FlowOperation::FLOW_OP_RETURN) != OK) {
						_set_error(vformat(RTR("Expected at least one '%s' statement in a non-void function."), "return"));
						return ERR_PARSE_ERROR;
					}
				}
				current_function = StringName();
			}
		}
		tk = _get_token();
	}
#ifdef DEBUG_ENABLED
	if (check_device_limit_warnings && uniform_buffer_exceeded_line != -1) {