Camera: Update max HEIC buffer calculation

--Update buffer size calculation to use 512 aligned width
  and height as HEIC images are tiled as 512x512

Bug: 173763227
CRs-Fixed: 2785345
Test: Camera CTS
Change-Id: I84ebd19bf01cf2a1de529b5b91f7882305d6ce37
diff --git a/services/camera/libcameraservice/api2/HeicEncoderInfoManager.h b/services/camera/libcameraservice/api2/HeicEncoderInfoManager.h
index 58edba2..a65be9c 100644
--- a/services/camera/libcameraservice/api2/HeicEncoderInfoManager.h
+++ b/services/camera/libcameraservice/api2/HeicEncoderInfoManager.h
@@ -38,6 +38,7 @@
     bool isSizeSupported(int32_t width, int32_t height,
             bool* useHeic, bool* useGrid, int64_t* stall, AString* hevcName) const;
 
+    // kGridWidth and kGridHeight should be 2^n
     static const auto kGridWidth = 512;
     static const auto kGridHeight = 512;
 private: