ao_coreaudio: prevent buffer underruns to output garbage

This was removed in d427b4fd. I now found a sample that causes underruns when
moving to a chapter and apparently this is also a problem when taking
screenshots.