[magma] Use renamed interfaces

Bug:108279

Change-Id: I6afa076700e91a8237a27b29103a946f92990a29
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/github.com/ARM-software/HWCPipe/+/816693
Reviewed-by: John Bauman <jbauman@google.com>
diff --git a/vendor/arm/mali/mali_profiler_magma.cpp b/vendor/arm/mali/mali_profiler_magma.cpp
index 52aed9d..1b67083 100644
--- a/vendor/arm/mali/mali_profiler_magma.cpp
+++ b/vendor/arm/mali/mali_profiler_magma.cpp
@@ -332,7 +332,7 @@
 
 	// At the moment we only ever should have 1 read outstanding, so only create one buffer.
 	constexpr uint32_t kBufferSize = 4096;
-	status                         = magma_connection_create_buffer2(connection_, kBufferSize, &buffer_size, &buffer_, &buffer_id_);
+	status                         = magma_connection_create_buffer(connection_, kBufferSize, &buffer_size, &buffer_, &buffer_id_);
 	if (status != MAGMA_STATUS_OK)
 	{
 		throw std::runtime_error("Create buffer failed.");