media: Fix visibility of destructor

 * This was removed in 3ed51e2299931c8fe8b21ca5a4a0780a6846b2cc, but
   it is still needed by the legacy audio drivers.

Change-Id: Ib0d8fcd28a42cb6829eface9bd4447a187009222