Improve diagnostics when ALSA reports an unexpected error.

In certain rare cases you get other errors than input buffer overruns. perror should provide some limited diagnostic information in these cases. As I don't know how to reproduce the issue I could not test this patch.