ANDROID: Fix -Wdelete-non-virtual-dtor warnings

Clang inserts undefined instrunctions when it hits a
-Wdelete-non-virtual-dtor warning while targeting darwin.  Fix
the undefined behavior by making the destructor virtual for
classes that have virtual methods.

Bug: 69449598
Change-Id: Iaf3b5705a849f6529a652967cad5498f8865f004
1 file changed