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

expr->array_size = constant.array_size;
								expr->array_declarations.push_back(decl);
								constant.initializer = static_cast<ConstantNode *>(expr);
							} else {
#ifdef DEBUG_ENABLED
								if (constant.type == DataType::TYPE_BOOL) {
									keyword_completion_context = CF_BOOLEAN;
								}
#endif 
								
								Node *expr = _parse_and_reduce_expression(nullptr, constants);
								if (!expr) {
									return ERR_PARSE_ERROR;
								}
#ifdef DEBUG_ENABLED
								if (constant.type == DataType::TYPE_BOOL) {
									keyword_completion_context = CF_GLOBAL_SPACE;
								}
#endif 
								if (expr->type == Node::NODE_TYPE_OPERATOR && static_cast<OperatorNode *>(expr)->op == OP_CALL) {
									OperatorNode *op = static_cast<OperatorNode *>(expr);
									for (int i = 1; i < op->arguments.size(); i++) {
										if (!_check_node_constness(op->arguments[i])) {
											_set_error(vformat(RTR("Expected constant expression for argument %d of function call after '='."), i - 1));
											return ERR_PARSE_ERROR;
										}
									}
								}
								constant.initializer = static_cast<ConstantNode *>(expr);
								if (!_compare_datatypes(type, struct_name, 0, expr->get_datatype(), expr->get_datatype_name(), expr->get_array_size())) {