paplayer: fix hang in flac codec if read fails, fixes ticket 12056

see title