Build libmedia with AudioParameter

cherry-picked from https://github.com/CyanogenMod/android_frameworks_av/commit/ced8df44565281ad1fbea69936b33b36c7e9c447