stagefright: Improve 24-bit support

 * Cleanup and fixes to allow FFMPEG codecs to output raw 24-bit PCM

Change-Id: Ideeb7cd7c6340f8054f99272796032939b561f81
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_av into cm-11.0