hwc2: Use CSC information from android dataspace

- Get the CSC information from android_data_space_t, use
  from metadata only when data space is not specified
  by client.
- Make an exception from HDR with BT2020 as android dataspace
  doesn't support mastering display and light luminance.
- Mark the layers as skip when dataspace is not supported.
- Also includes commit: 96e73dac from 3.9-rel
  .Check for composition types in ValidateAndSetCSC
  .Layers not marked for device can always be supported

Change-Id: Icbb2fe14aae784314700c183e6f3f8384719d295
Crs-fixed: 2074205
3 files changed