qdMetaData: Add get/setMetaData variants that unmap metadata

Add get/setMetaDataAndUnmap(..) api that remove the meta-data
mapping and reset the mapped pointer in handle.

Use these versions in setMetaData called during alloc to
ensure allocating process does not duplicate invalid
base address of metadata (i.e when native_handle is copied
without importing)

CRs-Fixed: 2265196
Bug: 111274566

Change-Id: I0481ad8d59950256723871a089aeb3d143afac5a
3 files changed