Add destroy method to hostgraphics version of Surface

This method was added in Change I88fe98fa.

Bug: 74062470
Test: lunch sdk && m libandroid_runtime
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:56f536db5a6224ce9dccbbdadc17acd6c0158569)
Merged-In: I9d1740b703d29913c2865240f8afac06f7dd5409
Change-Id: I9d1740b703d29913c2865240f8afac06f7dd5409
diff --git a/libs/hostgraphics/gui/Surface.h b/libs/hostgraphics/gui/Surface.h
index de1ba00..2573931 100644
--- a/libs/hostgraphics/gui/Surface.h
+++ b/libs/hostgraphics/gui/Surface.h
@@ -50,6 +50,8 @@
     virtual int unlockAndPost() { return 0; }
     virtual int query(int what, int* value) const { return 0; }
 
+    virtual void destroy() {}
+
 protected:
     virtual ~Surface() {}