audio: fix random crashes on uninit

I added this non-sense earlier this day. Oops.
Merge https://github.com/mpv-player/mpv
more malloc+memset o calloc