display: Use getMetaData in hwc2

Use getMetaData API to get the metadata information in hwc2.
As it maps the metadata in the process before accessing it.

Change-Id: I346d223058e6eadb00f16bb9f2be8a46e87fbdef
CRs-fixed: 2019985
5 files changed