droidmediacodec: Unlock out mutex when we are returning a null buffer from get()
droidmediacodec: More fixes

- Add droid_media_codec_flush
- properly set the m_running flag and signal the condition instead of adding a null buffer
- Make sure we never return a null buffer to stagefright