jack: fix polling and recovering

This patch fixes polling in alsa-to-jack plugin.
It makes poll()+_poll_revents() return correct values
when there's something to read/write.
It also makes jack pcm survive snd_pcm_recover(-EPIPE).

Signed-off-by: Takashi Iwai <tiwai@suse.de>