Revist C2HandleGralloc::WrapNativeHandle

Do not expose Move semantic of wrapping gralloc handle. And use cloned
handle inside C2HandleGralloc::WrapNativeHandle.

Bug: 123107921

Change-Id: If0335c3788cae2d13da215a998ed266ad3e3704c
Merged-In: If0335c3788cae2d13da215a998ed266ad3e3704c
(cherry picked from commit 961fa515a96c9c1bc9dfa98868d1c5f5e96b4a2e)
(cherry picked from commit a9c46d741c9cfac3a3f15beb3bd4ac4fe5139a4e)
5 files changed
tree: 00b701df83bbf7787d4b930c7332c9823659c811
  1. codec2/
  2. hooks/
  3. media/
  4. Android.bp
  5. OWNERS