[virtio_magma] Support magma_get_buffer_handle2

Includes proper lifetime management of the buffer handle.
This foundation allows for upcoming magma_query_returns_buffer2.

Bug:83610

Change-Id: I3cd3b96a8e12848e2483214ecb77adb5f9f2536b
2 files changed