hwc2: Handle reading color metadata

- Read HDR static metadata and HDR10plus datas from color metadata, and
  dataspace from SF.
- If dataspace is UNKNOWN, get dataspace from gralloc metadata.

Change-Id: Ice9200fd042264d76b99b5dd2d583a705bb20009
CRs-Fixed: 2523925
1 file changed