Add pre-buffering support to media pipeline (currently unused)
htsp: Make sure AV sync work on all platforms

Was broken on rpi, because during mp_configure() we need to know
if we have an audio stream or not.

Fixes #2021