ao_lavc: fix dangling pointers

Found by Coverity.
audio/out/push: fix off-by-one error

Needs 1 additional free entry.

Found by Coverity.
demux_mkv: fix uninitialized variable

Found by Coverity.