pcm: Add error handler for `read` that `snd_pcm_share_thread` function calls