libmediatranscoder: Android.bp updates

- Build libmediatranscoder as both shared and static libraries
- Use libmediatranscoder static library in unit tests
- Disable address sanitizer in tests
- Do not use address sanitizer enabled library in tests

Instead of enabling address sanitizer in Android.bp, better approach
is to test on devices flashed with hwasan images where all modules
are built with hwaddress sanitizer.

Bug: 173627260
Test: atest MediaTrackTranscoderTests

Change-Id: Id06ce520012485579c2be60348a2b38637fa7327
2 files changed