gralloc: handle unknown dataspace

In some scenarios, unknown standard dataspace is set for
some ui layer(s).
This leads to issue of reading unknown csc from gralloc
metadata and using it to overwrite a hwc layer's default csc.
In such cases, the layer ends up with invalid/unknown csc.

This change helps to avoid such scenarios and preserve the default
csc of layer by not setting standard dataspace flag to true when
dataspace passed is unknown.

Change-Id: I62b9fd993df9602b48815e858fd49736f089a317
1 file changed