Use a native AHardwareBuffer allocator on the client side when building for recent-enough Android.