IVGCVSW-5943 Updates for latest Android

* Use the correct method to get memory size
* Remove extra line that was a pre-existing typo

Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I807fc6b5d6fe32b28975ae2a98a6179712c26a96
diff --git a/ArmnnPreparedModel_1_3.cpp b/ArmnnPreparedModel_1_3.cpp
index 5a37032..6391872 100644
--- a/ArmnnPreparedModel_1_3.cpp
+++ b/ArmnnPreparedModel_1_3.cpp
@@ -492,9 +492,8 @@
         size_t bufferSize = 0;
 #if !defined(ARMNN_ANDROID_S)
         bufferSize = memPools.at(outputArg.location.poolIndex).getHidlMemory().size();
-        if (bufferSize < outputSize)
 #else
-        bufferSize = memPools.at(outputArg.location.poolIndex).getMemory().size;
+        bufferSize = memPools.at(outputArg.location.poolIndex).getSize();
 #endif
         if (bufferSize < outputSize)
         {