PulseAudio: stricter pa_stream_peek() validation.

An uncommon condition in the pa_stream_peek function
('no data at current read index') wasn't handled properly
and could lead to a segfault.

The commit also adds checks for other pa_stream_peek
error scenarios.

Fixes #1316